package com.link2room.bumblebee.dto.result.base;

import com.link2room.common.dto.result.base.BaseDto;

import java.util.Collections;
import java.util.List;

/**
 * Created by LN on 2017/3/7.
 */
public class CodeBaseDto extends BaseDto {
    private String code;
    private String parentCode;
    private String name;
    private String descript;
    private String codeType;
    private Integer maxLen;
    private String codeCategory;
    private String isSys;
    private String isGroup;
    private List<CodeBaseDto> children = Collections.EMPTY_LIST;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescript() {
        return descript;
    }

    public void setDescript(String descript) {
        this.descript = descript;
    }

    public String getCodeType() {
        return codeType;
    }

    public void setCodeType(String codeType) {
        this.codeType = codeType;
    }

    public Integer getMaxLen() {
        return maxLen;
    }

    public void setMaxLen(Integer maxLen) {
        this.maxLen = maxLen;
    }

    public String getCodeCategory() {
        return codeCategory;
    }

    public void setCodeCategory(String codeCategory) {
        this.codeCategory = codeCategory;
    }

    public String getIsSys() {
        return isSys;
    }

    public void setIsSys(String isSys) {
        this.isSys = isSys;
    }

    public String getIsGroup() {
        return isGroup;
    }

    public void setIsGroup(String isGroup) {
        this.isGroup = isGroup;
    }

    public List<CodeBaseDto> getChildren() {
        return children;
    }

    public void setChildren(List<CodeBaseDto> children) {
        this.children = children;
    }
}
